package com.meilai.project.vo.personnel.onTurn;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.meilai.project.entity.personnel.onTurn.LeaveOfficeApply;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDate;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "返回对象-离职申请")
public class LeaveOfficeApplyVO extends LeaveOfficeApply {
    @ApiModelProperty("当前人姓名")
    private String name;
    @ApiModelProperty("当前人可审核")
    private Boolean can_check;
    @ApiModelProperty("当前人是提交人")
    private Boolean is_applyer;
    @ApiModelProperty("当前人主部门")
    private String dep;
    @ApiModelProperty("当前人主部门职位")
    private String job;
    @ApiModelProperty("当前人手机号")
    private String mobile;
    @ApiModelProperty("是否入编")
    private Integer be_regular;
    @ApiModelProperty("入职时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate comp_fill_entry_date;
}
